package com.jcw.kqxt.domain;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author qinhui
 * @since 2022-02-25
 */
@TableName("t_attendance")
@Data
public class Attendance{

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;
    /**
     * 姓名
     */
    @TableField("user_name")
    private String userName;
    /**
     * 0出勤1派遣2公差3公休4事假5病假6旷工7早退8迟到
     */
    @TableField("attendance_status")
    private Integer attendanceStatus;
    /**
     * 时段 0上午 1下午
     */
    @TableField("time_interval")
    private Integer timeInterval;
    /**
     * 部门id
     */
    @TableField("dept_id")
    private Integer deptId;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;
    /**
     * 0 用户考情信息 1考勤规则
     */
    private String type;

    private Date date;
}
